package se137.hrbust.hlgshopping137.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import se137.hrbust.hlgshopping137.entity.Cart137;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import se137.hrbust.hlgshopping137.service.Cart137Service;

/**
* @author ZhaoSY
* @description 针对表【tb_cart137(购物车表)】的数据库操作Mapper
* @createDate 2025-09-11 09:43:29
* @Entity se137.hrbust.hlgshopping137.entity.Cart137
*/
@Mapper
public interface Cart137Mapper extends BaseMapper<Cart137> {
@Select("select * from tb_cart137 where FProductId = #{pid} and FSKUId = #{skuId}")
    Cart137 findCartByProSkuId(@Param("pid") Long pid,@Param("skuId") Long skuId);
}




